package com.mida.bms.report.api;

import com.mida.bms.report.vo.DocReportPreservationRequest;
import com.mida.bms.report.vo.DocStructRequestVo;
import com.mida.bms.report.vo.PatientInfoParameterVo;
import com.mida.tool.common.result.ActionResult;
import com.mida.tool.common.result.ListResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.DependsOn;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author ：zhang.zheng
 * @description：TODO 结构化模板报告feign接口
 * @date ：
 */
@DependsOn("loadFromDatabasePropertyConfig")
@FeignClient(name = "docSupportAreaApi", url = "bms.report.feign.url")
public interface DocSupportAreaApi {

    /**
     *  获取检查报告报告相关详情
     *
     * @param
     * @return
     */
    @PostMapping(value = "/docSupportArea/getDocSupportContentList", consumes = MediaType.APPLICATION_JSON_VALUE)
    @ResponseBody
    ListResult<List<DocStructRequestVo>> getDocSupportContentList(@RequestBody PatientInfoParameterVo vo);
}
